﻿<%@ Page Language="C#" MasterPageFile="~/quantri/QuanTri.master" AutoEventWireup="true" CodeFile="frmAccount.aspx.cs" Inherits="quantri_frmAccount" Title="Danh sách tài khoản" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <style type="text/css">
        table,th,td
        {
        	border: thin solid #808080;
        	border-collapse:collapse;
        }
        .style4
        {
            text-align: center;
            padding: 3px;
        }
    </style>
    
    <script type="text/javascript">
    function toggleChecked(status) {
    $(".checkbox").each( function() {
    $(this).attr("checked",status);
    })
    }
function Selectall_onclick() {

}

    </script> 
    
    
      
  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div class="control_header">
    <ul >
        <li>
            
            <asp:ImageButton ID="btnDel" runat="server" 
                ImageUrl="~/quantri/images/icon/delete2.png" ImageAlign="Middle" 
                PostBackUrl="~/quantri/frmAccount.aspx" onclick="btnDel_Click" 
                onclientclick="return confirm('Are you sure you want to delete?');" />
                <div class="clear"></div>
                <a title="Xóa">Xóa</a>
        </li>
        <li>
            <asp:ImageButton ID="btnEdit" runat="server" 
                ImageUrl="~/quantri/images/icon/document_edit.png" ImageAlign="Middle" 
                PostBackUrl="~/quantri/frmAccount.aspx" onclick="btnEdit_Click" />
                <div class="clear"></div>
            <a title="Sửa"  >Sửa</a>
        </li>
        <li>
            <asp:ImageButton ID="btnAdd" runat="server" 
                ImageUrl="~/quantri/images/icon/add2.png" 
                PostBackUrl="~/quantri/frmAccount.aspx"  ImageAlign="Middle" 
                onclick="btnAdd_Click" />
                <div class="clear"></div>
            <a title="Thêm mới" >Thêm mới</a>
        </li>
    </ul>
</div>
<div class="clear"></div>
<div style="width : 100% ;">

        <div style="height:10px; width: 100%;">
            <div style="width:100%;">
                <div class="bg_conner conner_top_left"></div>                            
                <div style=" height: 10px ; width: 98.5% ; border-top: 1px solid #ccc ; float : left ;"></div>
                <div class="bg_conner conner_top_right"></div>
            </div>
            <div class="clear"></div>
            <!--Content-->
            <div style=" width: 99.8%; border-left: 1px #ccc solid; border-right: 1px #ccc solid; border-collapse: separate;">
               
                    
                <table style=" width: 98.5%; margin: 0 10px;" cellpadding="0" cellspacing="0" frame="box" >
                    <tr style="background: #ccc;">
                        <td class="style4" style="width: 20px;">
                            <input id="Selectall" type="checkbox" name="cbxselectall" class="checkbox" onclick="toggleChecked(this.checked);"  value="0" onclick="return Selectall_onclick()" />        
                            </td>
                        <td class="style4">
                            Tên đăng nhập</td>
                        <td class="style4">
                            <b>Tên đầy đủ</b></td>
                        <td class="style4">
                            <b>Đã được bật</b></td>
                        <td class="style4">
                            <b>Quyền hạn</b></td>
                        <td class="style4">
                            <b>Email</b></td>
                    </tr>
                    
                    <asp:Label ID="lblInforAccount" runat="server" Text=""></asp:Label>                        
                    
                    
                    </table>
                    
                    </div>
            
            <!--Content-->
            <div class="clear"></div>
            <div style="width: 100%;">
                <div class="bg_conner conner_bottom_left"></div>
                <div style=" height: 10px ; width: 98.5% ; border-bottom: 1px solid #ccc ; float : left ;"></div>
                <div class="bg_conner conner_bottom_right"></div>
            </div>
        </div>
    </div>
    <input id="task" name="task" type="hidden" />
    
    
</asp:Content>

